package cn.edu.zut.curriculum.service.impl;

import cn.edu.zut.curriculum.entity.User;
import cn.edu.zut.curriculum.mapper.AdministratorMapper;
import cn.edu.zut.curriculum.mapper.CommodityMapper;
import cn.edu.zut.curriculum.service.IAdministratorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdministratorServiceimpl implements IAdministratorService {
    @Autowired
    AdministratorMapper administratorMapper;
    @Autowired
    CommodityMapper commodityMapper;
    @Override
    public List<User> select(){
        List<User> userlist=administratorMapper.queryUser();
        return userlist;
    }
}
